﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Data;

namespace QL_LichCT.Entities
{
    class COLICHTHUCHANH
    {
        private string _malop;

        public string malop
        {
            get { return _malop; }
            set { _malop = value; }
        }

        private int _stt_thu;

        public int stt_thu
        {
            get { return _stt_thu; }
            set { _stt_thu = value; }
        }

        private string _mabuoi;

        public string mabuoi
        {
            get { return _mabuoi; }
            set { _mabuoi = value; }
        }

        private string _maphong;

        public string maphong
        {
            get { return _maphong; }
            set { _maphong = value; }
        }

        public COLICHTHUCHANH()
        {
        }

        public COLICHTHUCHANH(DataRow row)
        {
            this._malop = row["malop"].ToString();
            this._stt_thu = (int)row["stt_thu"];
            this._mabuoi = row["mabuoi"].ToString();
            this._maphong = row["maphong"].ToString();
        }


        public COLICHTHUCHANH(string malop, int stt_thu, string mabuoi, string maphong)
        {
            this._malop = malop;
            this._stt_thu = stt_thu;
            this._mabuoi = mabuoi;
            this._maphong = maphong;
        }

    }
}
